set server interface

This command defines the interface associated with the DNS server.

Syntax

# set server interface <interface name> <slot / port /ID> 

Command

Description

<interface name>

Defines the interface name which is the name of the interface that is configured with the desired DNS server (static or dynamic). This allows configuration of name servers received dynamically by DHCP or PPP.

Default

NA

Command Mode

Privileged User

Example

This example defines the interface.

(config-data)# dns-view view1
(dns-view-view1)# set server interface gigabitethernet 0/0